home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Graphics / Utilities / POVRAY / POVRAY II / POV-Ray / POV-Ray.rsrc / TEXT_313_light_source.txt < prev    next >
Text File  |  1994-02-10  |  312b  |  10 lines

  1. // create a regular point light source
  2. light_source
  3. {
  4.   0*x // light's position (translated below)
  5.   color red 1.0  green 1.0  blue 1.0  // light's color
  6. // uncomment the next line to give the light source a visible appearance
  7. //  looks_like { sphere { 0*x, 5 pigment { Yellow } } }
  8.   translate <-20, 40, -20>
  9. }
  10.